package com.charles.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Author: 风中灵劲草
 * @Date: 2021/08/07/18:00
 * @Description:
 */
@SpringBootApplication
@EnableFeignClients
@EnableEurekaClient
@EnableCircuitBreaker   //允许使用断路器
public class OrderHystrixMain8001 {
    public static void main(String[] args) {
        SpringApplication.run(OrderHystrixMain8001.class , args);
    }
}
